# common library (test)

cmake_minimum_required(VERSION 2.8.2)

project(test)

# Source/Include files
include_directories(".")
include_directories("sharedMessage/" )                 # common includes
include_directories("simulationBridge/")

#include_directories("/usr/local/include/eigen3")   # lcm includes

include_directories(${CMAKE_BINARY_DIR})

#file(GLOB_RECURSE sources "src/*.cpp")                   # common library cpp files

# Library
#add_library(biomimetics SHARED ${sources})       # produce a library used by sim/robot
#target_link_libraries(biomimetics inih dynacore_param_handler JCQP osqp)



# Test
#file(GLOB_RECURSE test_sources "shm/test_*.cpp")             # test cpp files
#add_executable(test-shm ${test_sources})
#target_link_libraries(test-shm)

# file(GLOB_RECURSE test_sources "sharedMessage/test_*.cpp")             # test cpp files
# add_executable(test-msg ${test_sources})
# target_link_libraries(test-msg rt pthread)

file(GLOB_RECURSE test_sources "simulationBridge/test_*.cpp")             # test cpp files
add_executable(test-bridge ${test_sources})
target_link_libraries(test-bridge rt pthread)


